#define _CRT_SECURE_NO_WARNINGS

#include"QuickSort.h"

void PrintArr(int* a, int n)
{
	for (int i = 0; i < n; i++)
	{
		printf("%d ",a[i]);
	}
	printf("\n");
}

int main()
{
	int a[] = { 26,100,1,5,11,22,4,99,2,7,9,3,6,0 ,72,91,41 };
	int len = sizeof(a) / sizeof(a[0]);

	PrintArr(a, len);

	QuickSortNonR(a, 0, len - 1);

	PrintArr(a, len);
}